csskeyframes: Split new() into alloc() and new()
authorBenjamin Otte <otte@redhat.com>
Fri, 21 Feb 2014 20:54:40 +0000 (21:54 +0100)
committerBenjamin Otte <otte@redhat.com>
Sun, 23 Feb 2014 14:40:46 +0000 (15:40 +0100)
commit10fa786dfa718188243935c32deedfa8bec1f208
treed0eaa3d5d27fc4cafef60e8dd2e783601a47bf94
parentb4ddc0b58ec7387de634d57433c312e7de7b93e5
csskeyframes: Split new() into alloc() and new()

The new() function is supposed to return an empty fully initialized
GtkCssKeyframes object, while the alloc() function just allocates and
initializes static values. So alloc() can be used for copying or
resolving keyframes.

Fixes a memleak when resolving keyframes.
gtk/gtkcsskeyframes.c